<%
	HttpSession httpSession = request.getSession();
	Employee employee = (Employee) session.getAttribute("user");
	if (employee == null || employee.getRole() == null) {
		response.sendRedirect("errorLogin.jsp");
	}
%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@page import="com.msti.entity.Employee"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Admin Panel</title>
<link rel="stylesheet" type="text/css" href="css/common.css" />
</head>

<body>
<div class="wrapper">
	<div class="form">
		<div id="form_header">Administration Panel</div>
		<ul>
			<li><a href="createCourse.jsp">ADD Course</a></li>
			<li><a href="loadCourses.do">ADD Batch</a></li>
			<li><a href="printCertificate.jsp">Print Certificate</a></li>			
			<li><a href="addUser.jsp">Add User</a></li>
			<li><a href="logout.do">logout</a></li>
		</ul>
	</div>
	<div class="company_name_bar"><marquee direction="left">Mercantile Seamen Training Institute Ltd.</marquee></div>
</div>
</body>
</html>